#define _CRT_SECURE_NO_WARNINGS 1
#include "LittleHeap.h"
int main()
{
	int n = 10000;
	int* a = (int*)malloc(sizeof(int) * n);
	srand(time(0));
	for (int i = 0; i < n; ++i)
	{
		a[i] = rand() % 10000;
	}
	a[5] = 10000+1;
	a[51] = 10000 + 6;
	a[52] = 10000 + 7;
	a[53] = 10000 + 16;
	a[54] = 10000 + 19;
	PrintTopK(a, n, 5);

	return 0;
}